package com.heima.apis.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-user")
public interface IUserClient {
    @PostMapping("/name")
    String getName(@RequestParam("userId") Integer userId);
}
